﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using MaxLeaf.Platform.DataContract;

namespace MaxLeaf.Platform.Contract
{
    /// <summary>
    /// 网站订单相关操作
    /// </summary>
    [ServiceContract]
    [ServiceKnownType(typeof(List<int>))]
    [ServiceKnownType(typeof(imOthersInputHdrDataModel))]
    public interface IPoOrderRecvProcess
    {
        /// <summary>
        /// 提交入库
        /// </summary>
        /// <param name="intEnterUserId"></param>
        /// <param name="intHdrID"></param>
        /// <param name="lstDtlKeys"></param>
        /// <returns></returns>
        [OperationContract]
        imOthersInputHdrDataModel Post(int intEnterUserId, int intHdrID, List<int> lstDtlKeys);


        /// <summary>
        /// 退回到网站订单
        /// </summary>
        /// <param name="intOthersInputHdrID">入库单id</param>
        /// <returns></returns>
        [OperationContract]
        bool UnPost( int intOthersInputHdrID);
    }
}
